package com.nanhai.buddhist.college.module.collegebase.controller.admin.studentchange.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;

import static com.nanhai.buddhist.college.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 学籍信息异动 Base VO，提供给添加、修改、详细的子 VO 使用
* 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
*/
@Data
public class StudentChangeBaseVO {

    @ApiModelProperty(value = "编号", required = true)
    private String changeNumber;

    @ApiModelProperty(value = "学生id", required = true)
    @NotNull(message = "学生id不能为空")
    private String studentId;

    @ApiModelProperty(value = "异动时间", required = true)
    @NotNull(message = "异动时间不能为空")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date changeTime;

    @ApiModelProperty(value = "异动类型")
    private String changeType;

    @ApiModelProperty(value = "原专业")
    private String oldMajor;

    @ApiModelProperty(value = "原系部")
    private String oldDepartment;

    @ApiModelProperty(value = "原班级")
    private String oldClassGrade;

    @ApiModelProperty(value = "现系部")
    private String newDepartment;

    @ApiModelProperty(value = "现班级")
    private String newClassGrade;

    @ApiModelProperty(value = "现专业")
    private String newMajor;

    @ApiModelProperty(value = "备注")
    private String remark;

}
